package com.example.demo.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;
import lombok.RequiredArgsConstructor;

/**
 * 考试类型
 */
@Getter
@RequiredArgsConstructor
public enum LanguageType {

    C(1, "C"),

    C_PLUS_PLUS(2, "C++"),

    JAVA(3, "java"),

    PASCAL(4, "pascal"),

    PYTHON3(5, "python3"),

    RUBY(6, "ruby"),

    ;

    @EnumValue
    private final Integer value;

    private final String text;


}
